package com.test.test_rest.miner_pool.domain.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperSysConfig implements Serializable {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 应用ID
     */
    private String appId;

    /**
     * 短信签名
     */
    private String smsSign;

    /**
     * 数据服务URL
     */
    private String dataUrl;

    /**
     * 应用KEY
     */
    private String appKey;

    /**
     * 应用密码
     */
    private String appSecret;

    private Date createTime;

    private Date updateTime;

    /**
     * 首页广告banner多个使用逗号隔开
     */
    private String homeBanner;

    /**
     * 微信二维码图片
     */
    private String wxQrCode;

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 应用ID
     */
    public String getAppId() {
        return appId;
    }

    /**
     * 应用ID
     */
    public void setAppId(String appId) {
        this.appId = appId;
    }

    /**
     * 短信签名
     */
    public String getSmsSign() {
        return smsSign;
    }

    /**
     * 短信签名
     */
    public void setSmsSign(String smsSign) {
        this.smsSign = smsSign;
    }

    /**
     * 数据服务URL
     */
    public String getDataUrl() {
        return dataUrl;
    }

    /**
     * 数据服务URL
     */
    public void setDataUrl(String dataUrl) {
        this.dataUrl = dataUrl;
    }

    /**
     * 应用KEY
     */
    public String getAppKey() {
        return appKey;
    }

    /**
     * 应用KEY
     */
    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    /**
     * 应用密码
     */
    public String getAppSecret() {
        return appSecret;
    }

    /**
     * 应用密码
     */
    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 首页广告banner多个使用逗号隔开
     */
    public String getHomeBanner() {
        return homeBanner;
    }

    /**
     * 首页广告banner多个使用逗号隔开
     */
    public void setHomeBanner(String homeBanner) {
        this.homeBanner = homeBanner;
    }

    /**
     * 微信二维码图片
     */
    public String getWxQrCode() {
        return wxQrCode;
    }

    /**
     * 微信二维码图片
     */
    public void setWxQrCode(String wxQrCode) {
        this.wxQrCode = wxQrCode;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", appId=").append(appId);
        sb.append(", smsSign=").append(smsSign);
        sb.append(", dataUrl=").append(dataUrl);
        sb.append(", appKey=").append(appKey);
        sb.append(", appSecret=").append(appSecret);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", homeBanner=").append(homeBanner);
        sb.append(", wxQrCode=").append(wxQrCode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperSysConfig other = (SuperSysConfig) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getAppId() == null ? other.getAppId() == null : this.getAppId().equals(other.getAppId()))
            && (this.getSmsSign() == null ? other.getSmsSign() == null : this.getSmsSign().equals(other.getSmsSign()))
            && (this.getDataUrl() == null ? other.getDataUrl() == null : this.getDataUrl().equals(other.getDataUrl()))
            && (this.getAppKey() == null ? other.getAppKey() == null : this.getAppKey().equals(other.getAppKey()))
            && (this.getAppSecret() == null ? other.getAppSecret() == null : this.getAppSecret().equals(other.getAppSecret()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getHomeBanner() == null ? other.getHomeBanner() == null : this.getHomeBanner().equals(other.getHomeBanner()))
            && (this.getWxQrCode() == null ? other.getWxQrCode() == null : this.getWxQrCode().equals(other.getWxQrCode()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getAppId() == null) ? 0 : getAppId().hashCode());
        result = prime * result + ((getSmsSign() == null) ? 0 : getSmsSign().hashCode());
        result = prime * result + ((getDataUrl() == null) ? 0 : getDataUrl().hashCode());
        result = prime * result + ((getAppKey() == null) ? 0 : getAppKey().hashCode());
        result = prime * result + ((getAppSecret() == null) ? 0 : getAppSecret().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getHomeBanner() == null) ? 0 : getHomeBanner().hashCode());
        result = prime * result + ((getWxQrCode() == null) ? 0 : getWxQrCode().hashCode());
        return result;
    }
}